package com.service;

import com.bean.dangBean.Employee;
import com.bean.dangBean.Role;

import java.util.List;
import java.util.Map;

/**
 * 用户业务逻辑接口
 */
public interface EmployeeService {

    /** 添加 */
    int save(Employee employee);
    /** 删除 */
    int remove(Employee employee);
    /** 修改 */
    int modify(Employee employee);
    /** 查询 */
    List<Employee> find(Employee employee);
    List<Role> queryRole();
    /** 查询总记录数 */
    int count(Map<String, Object> map);
    /** 分页与条件查询 */
    List<Employee> query(Map<String, Object> map);
}
